import React from 'react';
import User from './User.jsx';
const UserList = React.createClass({
  render() {
    let users = this.props.users;
    let userList = users.map((user, i) => {
      return <User user={user} key={user.id}/>
    });
    console.log(userList);
    return (
      <div>
        {userList}
      </div>
    );
  },
  componentDidMount() {

  }
});

export default UserList;
